import { GaRegExp, getRule } from "../rule";

const xmlRule = getRule("xmlRule");

const rule = new GaRegExp(["^", xmlRule, "$"]);

console.log(rule.RegExpList.origin);
console.log(rule.RegExpList.list);

console.log(rule.MatchFormat(`
<标签.a>
	<标签.b
		a="45\\"6"
	>
		😀标签b内容
	</标签.b>
	<标签.c
		a="45\\"6"
		b="var a=\\"1\\""
	>
		\\<\\>！@#￥%……&*（）标签c内容
	</标签.c>
	<标签.d a="100" b="200" />
</标签.a>
`, undefined, 2));

debugger;
